package com.cctv.video.network.mvp;


/**
 * 异常处理基类
 * 作者：created by LP_TREAM on 2020/11/25 23:39
 * 邮箱：806875201@qq.com
 */
public class ApiException extends RuntimeException {
    private int errorCode;

    public ApiException(int code, String msg) {
        super(msg);
        this.errorCode = code;
    }

    public int getErrorCode() {
        return errorCode;
    }

}
